package controller

import (
	"context"
	"lot_admin_api/api"
	"lot_admin_api/internal/model"
	"lot_admin_api/internal/service"
)

var Statistics = cStatistics{}

type cStatistics struct{}

// UserDynamic  用户动态
func (h *cStatistics) UserDynamic(ctx context.Context, req *api.UserDynamicReq) (res []*model.UserDynamicRes, err error) {
	res, err = service.Statistics().UserDynamic(ctx, req.GetUserDynamic)
	return res, err
}
